<div id="">
    <div class="listtitle">
        <div class="left">
            <?php foreach ($categoryParent as $key => $value) {?>
            <?php if($key > 0){?>
            <span> &gt; </span>
            <?php } ?>
            <a href="<?php echo $root_page;?>/danhmuc/<?php echo $value['category_id'];?>/<?php echo $value['category_name_filter'];?>.html" title="<?php echo $value['category_name'];?>"><?php echo $value['category_name'];?></a>
            <?php } ?>
        </div>
    </div>

    <div class="list_category">
        <table cellspacing="0" cellpadding="0" border="0" width="100%" class="table_list_category">
            <col width="25%">
            <col width="25%">
            <col width="25%">
            <col width="25%">
            <tbody>
                <tr>
                    <?php $i = 1; foreach ($aryCategory as $key => $category) {?>
                    <td>
                        <div class="category_item">
                            <a href="<?php echo $root_page;?>/danhmuc/<?php echo $category['category_id'];?>/<?php echo $category['category_name_filter'];?>.html" title="<?php echo $category['category_name'];?>"><img width="80" height="80" src="<?php echo $sub_domain;?>/images/upload/thumbnail/<?php echo $category['category_main_image'];?>" alt="<?php echo $category['category_name'];?>" title="<?php echo $category['category_name'];?>"></a>
                        </div>
                        
                        <div class="category_item">
                            <a href="<?php echo $root_page;?>/danhmuc/<?php echo $category['category_id'];?>/<?php echo $category['category_name_filter'];?>.html" title="<?php echo $category['category_name'];?>">
                                <?php echo $category['category_name'];?>
                                <?php if($category['category_total_child'] > 0){?>
                                    <span> »</span>
                                <?php } ?>
                            </a>
                            
                            
                        </div>
                    </td>
                    <?php if($i % 4 == 0) {?>
                        </tr><tr>
                    <?php } ?>
                    <?php $i++;} ?>
                </tr>
            </tbody>
        </table>
    </div>

</div>